<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="${cxt }/css/base.css"/>
		<link rel="stylesheet" type="text/css" href="${cxt }/css/ls-enterpriselogin.css"/>
		<link rel="stylesheet" type="text/css" href="${cxt }/font-awesome/css/font-awesome.css"/>
		<script type="text/javascript" src="${cxt }/js/jquery.js" ></script>
		<script src="${cxt }/js/jquery.easing.min.js"></script>
		<script src="${cxt }/js/ls-enterpriselogin.js"></script>
		<script src="${cxt }/js/plug.js"></script>
		<link href="${ cxt}/css/yk_base.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="${ cxt}/css/yk_reg.css" />
<link rel="stylesheet" href="${ cxt}/css/yk_myCenter.css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script>
	$(function(){
		$("#tab").tab();
		$(".jiesuan").click(function(){
			
			var _this=$(this);
			var href=$(this).attr("href");
			$(this).attr('href',href+"?bookTime="+$("#date").val());
			if($(".cartlist").not(":eq(0)").length==0){
				return;
			}
			$(".cartlist").not(":eq(0)").each(function(){
			
				var href1=_this.attr('href');
				_this.attr('href',href1+"&carid="+$(this).attr("carid")+"&carnum="+$(this).find(".fdfsd").val());
			});
			
		});
		$(".ljkz").click(function(){
			var prise=$(this).parents(".motocadeitem").find(".motoprise").text();
			var prise1=prise.substring(1);
			var motoid=$(this).parents(".motocadeitem").find("[motoid]").eq(0).attr("motoid");
			$(this).attr("href",$(this).attr("href")+"?motoid="+motoid+"&bookTime="+$("#date").val()+"&motoprise="+prise1);
		})
		function getToday(){
			var myDate = new Date();
			return myDate.getFullYear()+"-"+(myDate.getMonth()+1)+"-"+myDate.getDate(); 
		}
		$("#date").val(getToday());
	})
	
</script>
</head>
<body style="background: #f2f3f5;">
		<!-- 企业租车头部 -->
		<div class="pointer"></div>
		<div class="w100" style="background:#2c2c2c;">
			<div class="w1200 center el-header">
				<div class="el-header-left fl">
					<div class="logo fl">
						熊博士租车
					</div>
					<ul class="fl header-menu">
						<li class="fl"><a href="${cxt }/enterprise/index?content=ls_enterprise/enterpriseIndex">首页</a></li>
						<li class="fl"><a href="${cxt }/enterprise/index?content=ls_enterprise/myCenter">订单</a></li>
						<li class="fl"><a href="${cxt }/enterprise/index?content=ls_enterprise/enterprisecenter">企业中心</a></li>
						
					</ul>
				</div>
				<div class="el-header-right fr">
					<span class="tel">${account }</span>
					<span>退出</span>
				</div>
			</div>
		</div>
		<div class="w100" style="background: #fff;">
			<div class="renttime w1200 center">
					<p class="renttimeleft fl"><span style="color:#000;font-size:21px;font-weight:bold;">企业租车优势</span><br/><span style="color:#333;">1.便捷下单,租车从此摆脱繁琐的流程,真正的实现一键租车 2.专门服务,24小时提供便捷服务 3.优惠省钱 自选租车有企业折扣,车组租车更省钱</span></p>
					<div class="timewrap fr">
				取车时间:
				<input type="date" value="2017-08-03" id="date"/>
			</div>			
			</div>
			
		</div>
		
		<!-- 企业租车内容开始 -->
		<jsp:include page="${content }"></jsp:include>
		
</body>
</html>